using UnityEngine;
using System.Collections;

public class waitinput : MonoBehaviour
{

	// Use this for initialization
	void Start () {
        guiTexture.enabled = false;
        gamecontrol.setGuiLevel(transform, float.MaxValue);
	}
	
	// Update is called once per frame
	void Update () {
        if (gamecontrol.state == GameState.input)
            guiTexture.enabled = true;
        else
            guiTexture.enabled = false;
	}
}
